package com.huarui.task.service;

import java.util.List;

import com.huarui.task.model.TaskDetail;

public interface TaskDetailService {

	/**
	 * 根据当前detail回滚到某个状态
	 */
	public abstract TaskDetail rollback(final Integer currentTaskDetailId,
			final String status);

	public abstract void appendTransmitTaskDetail(final Integer taskId,
			final String statusName);

	public List<TaskDetail> getTaskDetails(final Integer taskId);

}